#ifndef CALIBRATIONDIALOG_H
#define CALIBRATIONDIALOG_H

#include <QDialog>
#include <Camera/steriocalibration.h>
#include <Kinect/kinectframe.h>
using namespace camera;
using namespace kinect;
namespace Ui {
    class CalibrationDialog;
}

class CalibrationDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CalibrationDialog(QWidget *parent = 0);
    ~CalibrationDialog();

private slots:
    void on_getFrame_clicked();

    void on_bad_clicked();

    void on_Calibrate_clicked();

private:
    KinectFrame  grabFrame(int id);
    int count;
    Ui::CalibrationDialog *ui;
    SterioCalibration calib;
};

#endif // CALIBRATIONDIALOG_H
